/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using Photo;
using Photo;
/// <summary>
/// Summary description for IMGBL
/// </summary>
namespace Photo 
{
    public class IMGBL 
    {
    	#region Private Variables
		IMGDAL objIMGDAL;
		#endregion
		
        #region Public Constructors
        public IMGBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objIMGDAL=new IMGDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(IMGDO objIMGDO)
        {
            return objIMGDAL.Insert(objIMGDO);
        }

        public int Update(IMGDO objIMGDO)
        {
             return objIMGDAL.Update(objIMGDO);

        }

        public int Delete(IMGDO objIMGDO)
        {
             return objIMGDAL.Delete(objIMGDO);

        }

         public int DeleteAll()
        {
             return objIMGDAL.DeleteAll();
        }

        public IMGDO Select(IMGDO objIMGDO)
        {
            return objIMGDAL.Select(objIMGDO);
        }

        public ArrayList SelectAll1( )
        {
         return objIMGDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objIMGDAL.SelectAll();
        }


     
#endregion          
    
    
        public DataTable SelectbyAlbum(int ID)
        {
            return objIMGDAL.Selectbyalbum(ID);
        }



        
    }

}
